\hypertarget{structace_1_1_vector3_d_f}{\section{構造体 ace\-:\-:Vector3\-D\-F}
\label{structace_1_1_vector3_d_f}\index{ace\-::\-Vector3\-D\-F@{ace\-::\-Vector3\-D\-F}}
}


3次元ベクトル  




{\ttfamily \#include $<$ace.\-Vector3\-D\-F.\-h$>$}

\subsection*{Public メソッド}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structace_1_1_vector3_d_f_a14533b9f989de2ed1c3b4b6de87cb06f}{\hyperlink{structace_1_1_vector3_d_f_a14533b9f989de2ed1c3b4b6de87cb06f}{Vector3\-D\-F} ()}\label{structace_1_1_vector3_d_f_a14533b9f989de2ed1c3b4b6de87cb06f}

\begin{DoxyCompactList}\small\item\em コンストラクタ \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_a2ad549b0994e571e8a72ee0691674f7c}{\hyperlink{structace_1_1_vector3_d_f_a2ad549b0994e571e8a72ee0691674f7c}{Vector3\-D\-F} (float x, float y, float z)}\label{structace_1_1_vector3_d_f_a2ad549b0994e571e8a72ee0691674f7c}

\begin{DoxyCompactList}\small\item\em コンストラクタ \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_a654ace94bc93e4eec4de6d9f8449d507}{\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} {\bfseries operator+} (const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o) const }\label{structace_1_1_vector3_d_f_a654ace94bc93e4eec4de6d9f8449d507}

\item 
\hypertarget{structace_1_1_vector3_d_f_adc1fae1d3b511f6aa2ce17f2f1fb9d70}{\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} {\bfseries operator-\/} (const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o) const }\label{structace_1_1_vector3_d_f_adc1fae1d3b511f6aa2ce17f2f1fb9d70}

\item 
\hypertarget{structace_1_1_vector3_d_f_a4ebae2887dbc75b83f27cd634e9536f7}{\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} {\bfseries operator$\ast$} (const float \&o) const }\label{structace_1_1_vector3_d_f_a4ebae2887dbc75b83f27cd634e9536f7}

\item 
\hypertarget{structace_1_1_vector3_d_f_a3bb902db5472e38f55c5e6bba99dfa84}{\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} {\bfseries operator/} (const float \&o) const }\label{structace_1_1_vector3_d_f_a3bb902db5472e38f55c5e6bba99dfa84}

\item 
\hypertarget{structace_1_1_vector3_d_f_ac9c55892a5237a81941b448d785f462e}{\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \& {\bfseries operator+=} (const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o)}\label{structace_1_1_vector3_d_f_ac9c55892a5237a81941b448d785f462e}

\item 
\hypertarget{structace_1_1_vector3_d_f_a3c5af4a94350907be35a87a73661380e}{\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \& {\bfseries operator-\/=} (const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o)}\label{structace_1_1_vector3_d_f_a3c5af4a94350907be35a87a73661380e}

\item 
\hypertarget{structace_1_1_vector3_d_f_ab9b107617c99c4e2f5671eadab5c747b}{\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \& {\bfseries operator$\ast$=} (const float \&o)}\label{structace_1_1_vector3_d_f_ab9b107617c99c4e2f5671eadab5c747b}

\item 
\hypertarget{structace_1_1_vector3_d_f_a8a179156e020c48d65d3ab64535e5005}{\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \& {\bfseries operator/=} (const float \&o)}\label{structace_1_1_vector3_d_f_a8a179156e020c48d65d3ab64535e5005}

\item 
\hypertarget{structace_1_1_vector3_d_f_a14533b9f989de2ed1c3b4b6de87cb06f}{\hyperlink{structace_1_1_vector3_d_f_a14533b9f989de2ed1c3b4b6de87cb06f}{Vector3\-D\-F} ()}\label{structace_1_1_vector3_d_f_a14533b9f989de2ed1c3b4b6de87cb06f}

\begin{DoxyCompactList}\small\item\em コンストラクタ \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_a2ad549b0994e571e8a72ee0691674f7c}{\hyperlink{structace_1_1_vector3_d_f_a2ad549b0994e571e8a72ee0691674f7c}{Vector3\-D\-F} (float x, float y, float z)}\label{structace_1_1_vector3_d_f_a2ad549b0994e571e8a72ee0691674f7c}

\begin{DoxyCompactList}\small\item\em コンストラクタ \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_a654ace94bc93e4eec4de6d9f8449d507}{\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} {\bfseries operator+} (const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o) const }\label{structace_1_1_vector3_d_f_a654ace94bc93e4eec4de6d9f8449d507}

\item 
\hypertarget{structace_1_1_vector3_d_f_adc1fae1d3b511f6aa2ce17f2f1fb9d70}{\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} {\bfseries operator-\/} (const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o) const }\label{structace_1_1_vector3_d_f_adc1fae1d3b511f6aa2ce17f2f1fb9d70}

\item 
\hypertarget{structace_1_1_vector3_d_f_a4ebae2887dbc75b83f27cd634e9536f7}{\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} {\bfseries operator$\ast$} (const float \&o) const }\label{structace_1_1_vector3_d_f_a4ebae2887dbc75b83f27cd634e9536f7}

\item 
\hypertarget{structace_1_1_vector3_d_f_a3bb902db5472e38f55c5e6bba99dfa84}{\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} {\bfseries operator/} (const float \&o) const }\label{structace_1_1_vector3_d_f_a3bb902db5472e38f55c5e6bba99dfa84}

\item 
\hypertarget{structace_1_1_vector3_d_f_ab1f234898db20df5c32a3360be29a192}{\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \& {\bfseries operator+=} (const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o)}\label{structace_1_1_vector3_d_f_ab1f234898db20df5c32a3360be29a192}

\item 
\hypertarget{structace_1_1_vector3_d_f_a665b1863b11c1e0d5aa7d79451d0594d}{\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \& {\bfseries operator-\/=} (const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o)}\label{structace_1_1_vector3_d_f_a665b1863b11c1e0d5aa7d79451d0594d}

\item 
\hypertarget{structace_1_1_vector3_d_f_aa01a74cf6a14bc465eee00e3268f89d6}{\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \& {\bfseries operator$\ast$=} (const float \&o)}\label{structace_1_1_vector3_d_f_aa01a74cf6a14bc465eee00e3268f89d6}

\item 
\hypertarget{structace_1_1_vector3_d_f_aa780c6cb84a7cec033218ceb76cb3a21}{\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \& {\bfseries operator/=} (const float \&o)}\label{structace_1_1_vector3_d_f_aa780c6cb84a7cec033218ceb76cb3a21}

\end{DoxyCompactItemize}
\subsection*{Static Public メソッド}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structace_1_1_vector3_d_f_a10dab166c4aca9f018e0996b217dbdab}{static void \hyperlink{structace_1_1_vector3_d_f_a10dab166c4aca9f018e0996b217dbdab}{Add} (\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} $\ast$p\-Out, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} $\ast$p\-In1, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} $\ast$p\-In2)}\label{structace_1_1_vector3_d_f_a10dab166c4aca9f018e0996b217dbdab}

\begin{DoxyCompactList}\small\item\em 加算 \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_ad9b873f6eecf1099732b7afb38f650c3}{static \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \& \hyperlink{structace_1_1_vector3_d_f_ad9b873f6eecf1099732b7afb38f650c3}{Sub} (\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in1, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in2)}\label{structace_1_1_vector3_d_f_ad9b873f6eecf1099732b7afb38f650c3}

\begin{DoxyCompactList}\small\item\em 減算 \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_a86f58ff3b4d006d7e85768c4ecab9c55}{static float \hyperlink{structace_1_1_vector3_d_f_a86f58ff3b4d006d7e85768c4ecab9c55}{Length} (const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in)}\label{structace_1_1_vector3_d_f_a86f58ff3b4d006d7e85768c4ecab9c55}

\begin{DoxyCompactList}\small\item\em 長さ \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_a4907cf6416e289bec47c393de3d292b8}{static float \hyperlink{structace_1_1_vector3_d_f_a4907cf6416e289bec47c393de3d292b8}{Length\-Sq} (const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in)}\label{structace_1_1_vector3_d_f_a4907cf6416e289bec47c393de3d292b8}

\begin{DoxyCompactList}\small\item\em 長さの二乗 \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_a5691b16ebaa3ee2d7c2d42cf492bfedc}{static float \hyperlink{structace_1_1_vector3_d_f_a5691b16ebaa3ee2d7c2d42cf492bfedc}{Dot} (const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in1, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in2)}\label{structace_1_1_vector3_d_f_a5691b16ebaa3ee2d7c2d42cf492bfedc}

\begin{DoxyCompactList}\small\item\em 内積 \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_aac87e2014eaf48db524607027a831f26}{static void \hyperlink{structace_1_1_vector3_d_f_aac87e2014eaf48db524607027a831f26}{Normal} (\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in)}\label{structace_1_1_vector3_d_f_aac87e2014eaf48db524607027a831f26}

\begin{DoxyCompactList}\small\item\em 単位ベクトル \end{DoxyCompactList}\item 
static \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \& \hyperlink{structace_1_1_vector3_d_f_afb0ad404d0fc60272a3a5e5f00e88935}{Cross} (\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in1, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in2)
\begin{DoxyCompactList}\small\item\em 外積 \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_afd849c98ed003680259fb165bd0ec5e7}{static \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \& {\bfseries Transform} (\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in, const \hyperlink{structace_1_1_matrix43}{Matrix43} \&mat)}\label{structace_1_1_vector3_d_f_afd849c98ed003680259fb165bd0ec5e7}

\item 
\hypertarget{structace_1_1_vector3_d_f_ad07b212b19c12b27d3b4718a237b35d4}{static \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \& {\bfseries Transform} (\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in, const \hyperlink{structace_1_1_matrix44}{Matrix44} \&mat)}\label{structace_1_1_vector3_d_f_ad07b212b19c12b27d3b4718a237b35d4}

\item 
\hypertarget{structace_1_1_vector3_d_f_ae8ac47191c19927f122c2030a1e5cce7}{static void \hyperlink{structace_1_1_vector3_d_f_ae8ac47191c19927f122c2030a1e5cce7}{Add} (\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} $\ast$p\-Out, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} $\ast$p\-In1, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} $\ast$p\-In2)}\label{structace_1_1_vector3_d_f_ae8ac47191c19927f122c2030a1e5cce7}

\begin{DoxyCompactList}\small\item\em 加算 \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_ab8182a26b70a504e778d05dca4b13328}{static \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \& \hyperlink{structace_1_1_vector3_d_f_ab8182a26b70a504e778d05dca4b13328}{Sub} (\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in1, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in2)}\label{structace_1_1_vector3_d_f_ab8182a26b70a504e778d05dca4b13328}

\begin{DoxyCompactList}\small\item\em 減算 \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_ab55d21cf058031c32a4245f7f124a304}{static float \hyperlink{structace_1_1_vector3_d_f_ab55d21cf058031c32a4245f7f124a304}{Length} (const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in)}\label{structace_1_1_vector3_d_f_ab55d21cf058031c32a4245f7f124a304}

\begin{DoxyCompactList}\small\item\em 長さ \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_a87fab530c8d283a499939cd13f1613ba}{static float \hyperlink{structace_1_1_vector3_d_f_a87fab530c8d283a499939cd13f1613ba}{Length\-Sq} (const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in)}\label{structace_1_1_vector3_d_f_a87fab530c8d283a499939cd13f1613ba}

\begin{DoxyCompactList}\small\item\em 長さの二乗 \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_ab45bb1ceeae0ffd8830ef89dfd7fc421}{static float \hyperlink{structace_1_1_vector3_d_f_ab45bb1ceeae0ffd8830ef89dfd7fc421}{Dot} (const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in1, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in2)}\label{structace_1_1_vector3_d_f_ab45bb1ceeae0ffd8830ef89dfd7fc421}

\begin{DoxyCompactList}\small\item\em 内積 \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_ae95937ae2f7161dda6d7082c0203c342}{static void \hyperlink{structace_1_1_vector3_d_f_ae95937ae2f7161dda6d7082c0203c342}{Normal} (\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in)}\label{structace_1_1_vector3_d_f_ae95937ae2f7161dda6d7082c0203c342}

\begin{DoxyCompactList}\small\item\em 単位ベクトル \end{DoxyCompactList}\item 
static \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \& \hyperlink{structace_1_1_vector3_d_f_a3ca2eff77830f499adf99c431bc2eb23}{Cross} (\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in1, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in2)
\begin{DoxyCompactList}\small\item\em 外積 \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_a043fedf3ee1436e7408d4c11971f3700}{static \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \& {\bfseries Transform} (\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in, const \hyperlink{structace_1_1_matrix43}{Matrix43} \&mat)}\label{structace_1_1_vector3_d_f_a043fedf3ee1436e7408d4c11971f3700}

\item 
\hypertarget{structace_1_1_vector3_d_f_aeabd49a3b62b770e6850c50a37b6ead3}{static \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \& {\bfseries Transform} (\hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&o, const \hyperlink{structace_1_1_vector3_d_f}{Vector3\-D\-F} \&in, const \hyperlink{structace_1_1_matrix44}{Matrix44} \&mat)}\label{structace_1_1_vector3_d_f_aeabd49a3b62b770e6850c50a37b6ead3}

\end{DoxyCompactItemize}
\subsection*{Public 変数}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structace_1_1_vector3_d_f_ae4ee77792505abdd37b1da6d5dbdd324}{float \hyperlink{structace_1_1_vector3_d_f_ae4ee77792505abdd37b1da6d5dbdd324}{X}}\label{structace_1_1_vector3_d_f_ae4ee77792505abdd37b1da6d5dbdd324}

\begin{DoxyCompactList}\small\item\em X. \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_a726062854371d0af55674524990a6e5d}{float \hyperlink{structace_1_1_vector3_d_f_a726062854371d0af55674524990a6e5d}{Y}}\label{structace_1_1_vector3_d_f_a726062854371d0af55674524990a6e5d}

\begin{DoxyCompactList}\small\item\em Y. \end{DoxyCompactList}\item 
\hypertarget{structace_1_1_vector3_d_f_aecc381ffc1c08f73ba2c95099a4fe9be}{float \hyperlink{structace_1_1_vector3_d_f_aecc381ffc1c08f73ba2c95099a4fe9be}{Z}}\label{structace_1_1_vector3_d_f_aecc381ffc1c08f73ba2c95099a4fe9be}

\begin{DoxyCompactList}\small\item\em Z. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{説明}
3次元ベクトル 

\subsection{関数}
\hypertarget{structace_1_1_vector3_d_f_afb0ad404d0fc60272a3a5e5f00e88935}{\index{ace\-::\-Vector3\-D\-F@{ace\-::\-Vector3\-D\-F}!Cross@{Cross}}
\index{Cross@{Cross}!ace::Vector3DF@{ace\-::\-Vector3\-D\-F}}
\subsubsection[{Cross}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Vector3\-D\-F} \& ace\-::\-Vector3\-D\-F\-::\-Cross (
\begin{DoxyParamCaption}
\item[{{\bf Vector3\-D\-F} \&}]{o, }
\item[{const {\bf Vector3\-D\-F} \&}]{in1, }
\item[{const {\bf Vector3\-D\-F} \&}]{in2}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{structace_1_1_vector3_d_f_afb0ad404d0fc60272a3a5e5f00e88935}


外積 

\begin{DoxyNote}{覚え書き}
右手系の場合、右手の親指がin1、人差し指がin2としたとき、中指の方向を返す。\par
 左手系の場合、左手の親指がin1、人差し指がin2としたとき、中指の方向を返す。\par
 
\end{DoxyNote}
\hypertarget{structace_1_1_vector3_d_f_a3ca2eff77830f499adf99c431bc2eb23}{\index{ace\-::\-Vector3\-D\-F@{ace\-::\-Vector3\-D\-F}!Cross@{Cross}}
\index{Cross@{Cross}!ace::Vector3DF@{ace\-::\-Vector3\-D\-F}}
\subsubsection[{Cross}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Vector3\-D\-F}\& ace\-::\-Vector3\-D\-F\-::\-Cross (
\begin{DoxyParamCaption}
\item[{{\bf Vector3\-D\-F} \&}]{o, }
\item[{const {\bf Vector3\-D\-F} \&}]{in1, }
\item[{const {\bf Vector3\-D\-F} \&}]{in2}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{structace_1_1_vector3_d_f_a3ca2eff77830f499adf99c431bc2eb23}


外積 

\begin{DoxyNote}{覚え書き}
右手系の場合、右手の親指がin1、人差し指がin2としたとき、中指の方向を返す。\par
 左手系の場合、左手の親指がin1、人差し指がin2としたとき、中指の方向を返す。\par
 
\end{DoxyNote}


この構造体の説明は次のファイルから生成されました\-:\begin{DoxyCompactItemize}
\item 
Dev/ace\-\_\-cpp/common/\-Math/ace.\-Vector3\-D\-F.\-h\item 
Dev/ace\-\_\-cpp/engine/ace.\-Core\-To\-Engine.\-h\item 
Dev/ace\-\_\-cpp/common/\-Math/ace.\-Vector3\-D\-F.\-cpp\end{DoxyCompactItemize}
